package com.gzx.plugin.tjzy.modular.liaison.entity.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.liaison.entity.GzxDebtorLiaison;
import com.gzx.plugin.tjzy.modular.project.entity.ProjectEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;


/**
 * 欠款人关系人的通讯录视图对象 gzx_loan_relation_phone
 *
 * @author LionLi
 * @date 2024-09-13
 */
@Data
@AutoMapper(target = GzxDebtorLiaison.class)
public class GzxDebtorLiaisonVo extends ProjectEntity implements TransPojo {

    private String id;

    /**
     * 与欠款人关系
     */
    private String relationship;

    /**
     * 借款人身份证号
     */
    private String debtorCardId;

    /**
     * 联系人姓名
     */
    private String liaisonName;

    /**
     * 联系人手机号
     */
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String liaisonPhone;

    /**
     * 工作地址
     */
    private String workAddress;

    /**
     * 甲方系统主键
     */
    private String partnerBusinessId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 电话来源
     */
    @Trans(type = TransType.DICTIONARY, key = "PhoneSource")
    private String phoneSource;

    /**
     * 号码状态
     */
    @Trans(type = TransType.DICTIONARY, key = "YesOrNo")
    private String phoneStatus;

    /**
     * 上次通话时间
     */
    private String lastCallTime;

    private Integer todayCallCount;
}
